package com.bjsxt.mapper;

import com.bjsxt.pojo.Host;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface HostMapper {


    List<Host>   selectMore(Host host);

    @Update("update t_host set strong=#{param1} where  hid=#{param2}")
    Integer   updateStrong(Integer strong,Integer hid);

    Integer  insert(Host  host);

    @Update("update t_host set status=#{param2} where hid=#{param1}")
    Integer   updateStatus(Integer hid,String status);

}
